#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int i, x, max = 0;
	printf("input the number");
	scanf("%d", &x);
	max = x;
	for (i = 1; i <= 9; i++)
	{
		printf("input the number");
		scanf("%d", &x);
		{
			if (x > max)
				max = x;
		}
	}
	printf("max is %d", max);
	return 0;
}